package com.example.aitoedu.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "注册时传递的数据模型")
public class RegisterDTO {

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "验证码")
    private String cert;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "姓名")
    private String username;

    @Schema(description = "身份")
    private int role;

    @Schema(description = "学校")
    private String school;
}
